package com.future.servlet;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public class BaseServlet extends HttpServlet {
	private static Logger logger = LogManager.getLogger("BaseServlet");

	public BaseServlet() {
		super();
	}

	public void destroy() {
		super.destroy();
	}

	public void doGet(HttpServletRequest request,
										HttpServletResponse response) throws ServletException, IOException {
		logger.debug("this is BaseServlet doGet method !");
	}

	public void doPost(	HttpServletRequest request,
											HttpServletResponse response) throws ServletException, IOException {
		logger.debug("this is BaseServlet doPost method");
	}

	public void init() throws ServletException {
		
	}

}
